<?php
require_once('../smarty_admin.php');
$form = new Form_Catalog();
if (isset($_POST['Add']))
{
	$form->process($_REQUEST);

	if (!$form->hasError()) 
		{
			header("Location: catalog.php");
			
		}


}
$smarty->assign('form',$form);


$smarty->display('catalog/add.tpl');
?>
